//
//  THAlertContentView.h
//  MengLiao
//
//  Created by xiuxin on 2022/7/15.
//  Copyright © 2022 BaseBusiness. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol THAlertContentViewDelegate <NSObject>

- (void)zh_alertContentViewDelegate_cancelEvent;

- (void)zh_alertContentViewDelegate_sureEvent;

@end

@interface THAlertContentView : UIView

@property (nonatomic, weak) id <THAlertContentViewDelegate> delegate;

///是否是一行1个的竖排按钮
@property (nonatomic, assign) BOOL btnVerticalDirection;

@property (nonatomic, copy)NSString *title;
@property (nonatomic, copy)NSString *desc;
@property (nonatomic, copy)NSString *sureBtnTitle;
@property (nonatomic, copy)NSString *cancelBtnTitle;
@property (nonatomic, copy)NSString *selectTitle;

@property (nonatomic, copy)NSMutableAttributedString *descAttr;

@property (nonatomic, assign, readonly)BOOL isSelect;

- (void)configViews;

@end

NS_ASSUME_NONNULL_END
